package cn.edu.scau.cmi.yanghongyu.dao;

import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.web.bind.annotation.PathVariable;

import cn.edu.scau.cmi.ema.dao.JpaDao;

public interface FrontEchartDAO extends JpaDao {

	boolean updateOrSave2echartBySql(Integer eventId, String eventName, 
			String sourceCountry, String sourceProvince, String sourceCity, 
			String discoveryCountry, String discoveryProvince, String discoveryCity, 
			String foodtype);
	
	boolean updateOrSave2echartBySql(Integer eventId, String eventName, 
			String sourceCountry, String sourceProvince, String sourceCity, 
			String discoveryCountry, String discoveryProvince, String discoveryCity, 
			String foodtypeName, Integer foodtypeId);
	
	boolean updateFoodtypeIdBySql(Integer eventId, Integer foodtypeId);
	
	
	
	int deleteEchartsBySql(Integer id);
}